﻿ if ( g_plugin && swfparams) {
 	var otag;
 	otag = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + swfparams.version + '" width="' + swfparams.width + '" height="' + swfparams.height + '" id="' + swfparams.id + '" align="middle">';
 	otag += '<param name="allowScriptAccess" value="sameDomain" />';
 	otag += '<param name="movie" value="' + swfparams.swfname + '" />';
 	otag += '<param name="quality" value="high" />';
 	otag += '<param name="bgcolor" value="#ffffff" />';
 	otag += '<param name="flashvars" value="' + swfparams.flashvars + '" />';
 	otag += '<param name="wmode" value="opaque" />';
 	otag += '<embed src="' + swfparams.swfname + '" quality="high" bgcolor="#ffffff" width="' + swfparams.width + '" height="' + swfparams.height + '" name="' + swfparams.id + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" flashvars="' + swfparams.flashvars + '" pluginspage="http://www.macromedia.com/go/getflashplayer" WMODE="opaque"/>';
 	otag += '</object>';
 	document.write(otag);
 } else {
 	document.write(swfparams.nonflashhtml);
 }
